package com.guoxin.adapter.objectdapter;

public class Client {
	public static void main(String[] args) {
		System.out.println("===对象适配模式 ===");
		Phone phone = new Phone();
		phone.charing(new VoltageAdapter(new Voltage220V()));
	}
}
